﻿<%@ Page Title="" Language="C#" MasterPageFile="~/EasyUI.Master" AutoEventWireup="true" CodeBehind="listnewsfilesearch.aspx.cs" Inherits="LCrs.Web.news.listnewsfilesearch" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <script src="../Script/datetime.js"></script>
    <script src="varcbb.js"></script>
    <script src="listnewsfilesearch.js"></script>
<%--    <script src="../ckeditor/ckeditor.js"></script>--%>
    <script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table id="tt">
    </table>
    <div id="tab_toolbar" style="padding: 4px;">
        <table cellpadding="0" cellspacing="0" style="width: 100%">
            <tr>

                <td style="padding-left: 2px">


                    <a href="#" onclick="newUser();" id="a_add"
                        class="easyui-linkbutton" iconcls="icon-add">添加</a>
                    <a href="javascript:void(0)" onclick="editUser() " class="easyui-linkbutton" data-options="iconCls:'icon-edit'">修改</a>
                    <a href="#" onclick="removeUser();return false;" id="a_del" class="easyui-linkbutton" iconcls="icon-cancel">删除</a>

                </td>
                <td style="text-align: right; padding-right: 15px">
                    <%--<input id="ipt_search" menu="#search_menu" />
                    <div id="search_menu" style="width: 120px">
                        <div name="usernum">
                            身份证
                        </div>
                        <div name="username">
                            姓 名
                        </div>
                    </div>--%>
                </td>
            </tr>
        </table>

    </div>

    <div id="dlg" class="easyui-dialog" style="width: 600px; height: 580px; padding: 2px"
        data-options="closed:true,buttons:'#dlg-buttons',shadow:false">
        <form id="fm" method="post" enctype="multipart/form-data" style="width: 100%; height: 100%;">
            <div id="mytt" class="easyui-tabs" style="width: 100%; height: 100%;">
                <div title="通知公告" class="myh" style="padding: 5px;">
                    <table>
                        <tr>
                            <td>标题：</td>
                            <td>
                                <input id="newsTitle" name="newsTitle" class="easyui-validatebox" data-options="required:true" />
                            </td>
                        </tr>
                        <tr>
                            <td>作者：</td>
                            <td>
                                <input id="newsAuthor" name="newsAuthor" class="easyui-validatebox" data-options="required:true" />
                                <input name="Test" id="test" type="hidden" />  
                                <input name="newsId" id="newsId" type="hidden" />  
                            </td>
                        </tr>
                         <tr>
                            <td>发布日期：</td>
                            <td>
                               <input id="newsTime" name="newsTime" class="easyui-datebox" data-options="required:true" />
                            </td>
                        </tr>
                         
                         <tr>
                            <td style="width:100px;">上传附件：</td>
                            <td>
                                <input class="easyui-filebox" id="pimportfile" name="pimportfile" data-options="buttonText: '选择文件'" style="width: 180px" /> 
                            </td>
                        </tr>
                        <tr>
                            <td>内容：</td>
                            <td>
                                <textarea id="newsContent" name="newsContent"  data-options="required:true"
                                    style="width:500px;height:300px;" class="ckeditor" >

                                </textarea>
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
        </form>
    </div>
    <div id="dlg-buttons">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok'" onclick="saveUser()">保存</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel'" onclick="javascript:$('#dlg').dialog('close')">关闭</a>
    </div>
</asp:Content>
